//4.1 - The Add Program - Mark Lee - Prima Publishing #include using namespace std; //add declaration int add(int a, int b); //displays a sample use of the add function int main (void) { int number1, number2; cout << "Enter the first value to be summed: "; cin >> number1; cout << "\nEnter the second: "; cin >> number2; cout << "\nThe sum is: " << add(number1, number2) << endl; } // adds two numbers and returns the sum int add(int a, int b) { return a + b; }